<!DOCTYPE HTML>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ include file="pages/taglib.jsp" %>
<html>
  <head>
    <base href="<%=basePath%>">
    <title>updateBigConsumer</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<%@ include file="pages/link-script.jsp" %>
  </head>
  <body>         
      <%@include file="pages/header.jsp" %>
		  	<h4 class="sub-header">更新大客户项目信息</h4>
		  	<form role="form" action="updateBigConsumerById" method="post" >
		  		<div class="row">
		  		<s:iterator value="#session.bigConsumerBean" status="status" >
				  	  <div class="form-group col-xs-7">
					 	<label for="projectId">项目编号</label>
					    <s:textfield  class="form-control" name="projectId" id="projectId" placeholder="year-month-number" readonly="true"/>
					  </div>
					  <div class="form-group col-xs-7">
					  	<label for="projectId">项目名称</label>
					    <s:textfield  class="form-control" name="projectName" placeholder="the project name..."/>
					  </div>
					  <div class="form-group col-xs-7">
					  	<label for="consumerName">客户名称</label>
					    <s:textfield  class="form-control" name="consumerName" placeholder="the consumer name..."/>
				  	  </div>
					  <div class="form-group col-xs-7">
					    <label for="requirementIntroduction">项目简介</label>
					    <s:textarea  class="form-control" row="3" name="projectIntroduction" placeholder="to introduce the project..."/>
					  </div>
					  <div class="form-group col-xs-7">
					    <label for="projectStatus">营销状态</label>
					    <select name="projectStatus" class="form-control">
					    		<option>营销中</option>
					     		<option>营销成功</option>
					     		<option>营销失败</option>
					    </select>
					  </div>
					  <div class="form-group col-xs-7">
					    <label for="proposeUnit">项目提出方</label>
					    <s:textfield  class="form-control" name="proposeUnit" placeholder="which unit propose the project?"/>
					  </div>
					  <div class="form-group col-xs-7">
					    <label for="masterUnit">主管业务部门</label>
					    <s:textfield  class="form-control" name="masterUnit" placeholder="The master unit is...?"/>
					  </div>
					  <div class="form-group col-xs-7">
					    <label for="lineType">线路类型</label>
					    <s:textfield  class="form-control" name="lineType" placeholder="The line type is...?"/>
					  </div>
					  <div class="form-group col-xs-7">
					    <label for="frontEndIP">前置机IP</label>
					    <s:textfield  class="form-control" name="frontEndIP" placeholder="The front end IP is ...?"/>
					  </div>
					  <div class="form-group col-xs-7 input-append date" id="applyTime">
					    <label for="applyTime">申请时间</label>
					    <s:textfield type="date" id="applyTime" class="form-control" name="applyTime" placeholder="when the project are proposed?" required="true"/>
					    <span class="add-on"><i class="icon-calendar"></i></span>
					    <script>
					    	$('#applyTime').datetimepicker({
						    	format: 'yyyy/mm/dd',
						    	startDate: '2016/01/01',
						    	autoclose: 'true',
						    	minView: 'month',
						    	todayBtn: 'linked',
						    	todayHighlight: 'ture',
						    	language: 'zh-CN'
						    });
					    </script>
					  </div>
					  <div class="form-group col-xs-7">
					    <label for="projectResult">项目结果</label>
					    <select name="projectResult" class="form-control">
					    		<option>等待营销结果</option>
					    		<option>等待排期</option>
					     		<option>开发</option>
					     		<option>测试</option>
					     		<option>待投产</option>
					     		<option>已投产</option>
					    </select>
					  </div>
					  <div class="form-group col-xs-7">
					    <label for="remark">备注</label>
					    <s:textfield  class="form-control" name="remark" placeholder="anything else..."/>
					  </div>
				 </s:iterator>
			  </div>
			  <button type="submit" class="btn btn-primary">提交更新</button>
			</form>
		<%@include file="pages/footer.jsp" %>
  </body>
</html>
